package cn.com.surker.enums.sale;

import cn.com.surker.enums.ICodeDescEnum;
import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2024年05月19 10:10
 * @desc
 */
public enum PaymentTypeEnum implements ICodeDescEnum {

    XJ(0,"现金"), DK(3,"抵款"), YHCDHP(4,"银行承兑汇票"),
    SYCDHP(2,"商业承兑汇票"), JRCP(5,"金融产品"),
    YHZZ(7,"银行转账");

    private final String description;

    private final Integer code;

    PaymentTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}

}
